package com.caterina.components;

import java.awt.BorderLayout;
import javax.swing.JTextPane;
import com.caterina.resources.CModels;

public class CLoading extends CPanel{
	public CLoading(int scale) {
		super();
		this.setLayout(new BorderLayout());
		if (loadingPane==null){
			loadingPane=new JTextPane();
			loadingPane.setContentType("text/html");
			loadingPane.setText(CModels.getLoadingPage(""));
		}
		this.add(loadingPane,BorderLayout.CENTER);
	}
	private static JTextPane loadingPane;
	private static final long serialVersionUID = 1L;
}
